/*
 * Copyright 2013-2015 the original author or authors.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.xdtech.hotel.protocol.vo;

/**
 * 
 * @author max.zheng
 * @create 2015-4-27下午9:55:02
 * @since 1.0
 * @see
 */
public class Tv extends Component{
	private String power;   //” : “on” , #可选参数：on/off/-开/关； 
	private String volume;  //” : “20” , #可选参数：0%-100%音量； 
	private String input;   //” : “0”, #可选参数：0-10输入源选择； 
	private String ch;		//” : “0”, #可选参数：0-200 频道； 
	private String item;	//”:”next” #可选参数：previous /next-节目-/节目+ 
	
	public Tv(String addr, String channel, String power, String volume,
			String input, String ch, String item) {
		super(addr, channel);
		this.power = power;
		this.volume = volume;
		this.input = input;
		this.ch = ch;
		this.item = item;
	}
	public Tv() {
		super();
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getPower() {
		return power;
	}
	public void setPower(String power) {
		this.power = power;
	}
	public String getVolume() {
		return volume;
	}
	public void setVolume(String volume) {
		this.volume = volume;
	}
	public String getInput() {
		return input;
	}
	public void setInput(String input) {
		this.input = input;
	}
	public String getCh() {
		return ch;
	}
	public void setCh(String ch) {
		this.ch = ch;
	}
	public String getItem() {
		return item;
	}
	public void setItem(String item) {
		this.item = item;
	}
	

}
